package mil.af.amc.adpetracker.service;

import mil.af.amc.adpetracker.model.Account;

import java.util.List;
import java.util.Map;

/**
 * Please Fill in this Javadoc
 *
 * @author TSgt Jason Ferguson
 */

public interface AccountService {

    List<Account> getAll();

    Account getById(int accountId);

    void createAccount(Map accountMap);

    void editAccount(Map accountMap) throws ServiceException;

    void deleteAccount(int accountId);

    /**
     * Reset a user's password
     *
     * @param username  String representing the username whose password to reset
     * @throws ServiceException
     */
    public void resetPassword(String username) throws ServiceException;
}
